﻿using SwitchHostProject.Common.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SwitchHostProject.Model
{
    internal class HostItem
    {
        // host Item项名称
        private string? _itemName;

        // 是否时激活状态
        private bool _isActive;

        // 文件类型
        private ItemType _hostItemType;

        public string ItemName
        {
            get { return _itemName!; }
            set { _itemName = value; }
        }

        public bool IsActive
        {
            get { return _isActive; }
            set { _isActive = value; }
        }

        public ItemType HostItemType
        {
            get { return _hostItemType; }
            set { _hostItemType = value; }
        }

        public HostItem(string itemName, bool isActive, ItemType hostItemType)
        {
            _itemName = itemName;
            _isActive = isActive;
            _hostItemType = hostItemType;
        }
    }
}
